Display Digital Signal Visualizations With Increasing Accuracy

ABSTRACT

Digital signal visualizations may be displayed with increasing accuracy as the signal data is processed. According to one embodiment, an entire digital signal visualization is displayed as data processing begins. As the digital signal data upon which the visualization is processed, the visualization is refined with increasing accuracy. In one embodiment, a process reads portions of the digital signal data and uses the partial data set to build a visualization of the entire digital signal file. The process continues to read portions of the digital signal data, and uses the additional data to refine the visualization. This process continues until the entire digital signal file is processed and the visualization is displayed with complete accuracy, using all data points.

RELATED APPLICATION DATA AND CLAIM OF PRIORITY

This application claims benefit as a Divisional of U.S. patentapplication Ser. No. 11/395,343, which will issue as U.S. Pat. No.7,571,064, entitled “Display Digital Signal Visualizations WithIncreasing Accuracy”, filed Mar. 31, 2006, the contents of which areincorporated by reference for all purposes as if fully set forth herein.

FIELD OF THE INVENTION

The present invention relates to displaying digital signalvisualizations, and more specifically, increasing the accuracy ofdisplay visualizations as digital signal data is read.

BACKGROUND

Digital signals are often represented graphically as series of verticalline segments on a display. The line segments may represent the minimumand maximum range of values for a signal within a segment of time.Multiple line segments are arranged in order (adjacent to each other) toachieve an overview of a larger time period.

This is often performed in the context of displaying digital sound data;for example, digital sound data may be calculated as a series of dataplots and displayed as a graph of multiple line or bar segments, eachsegment representing a value at a certain point in time. Using a displayof this type, it would be possible to visualize the dynamic range of adigital sound file at 1 second, 2 seconds, 5 seconds, and so forth.

One approach to the visualization of digital signal data is to fullyprocess the digital signal data, and then after all of the signal datais fully processed, to display a fully rendered visualization. Thisapproach of synchronously calculating the data plot, and then displayingthe visualization, results in the user waiting for processing tocomplete before any part of the visualization may be viewed. This isbecause for each time segment, all data must be read to determine theminimum and maximum data points to display. The more data to bedisplayed, the longer it will take to display the visualization. If theprocess is not threaded, then user interaction may not be possible untilthe data processing and subsequent visualization display is complete.

Another approach is to render the visualization asynchronously as thedigital signal data is read. Using this approach builds the displaygradually across the time period as data is read. While this gives auser immediate, accurate feedback on digital signal data, it is veryprocessor-intensive. Further, the rendering of the visualization is veryslow, as the visualization progresses along the axis representing timeas the signal data is processed. Only when the digital signal data isfully processed is the entire visualization displayed. Much of thevisualization is invisible until the process completes. If the processis not threaded, then user interaction may not be possible until thedata processing and subsequent visualization display is complete.

While the aforementioned approach improves workflow by not stopping workwaiting for display, a user does not receive a view of the full timelineof the data until the end of the process. This makes it difficult tonavigate the data.

The approaches described in this section are approaches that could bepursued, but not necessarily approaches that have been previouslyconceived or pursued. Therefore, unless otherwise indicated, theapproaches described in this section may not be prior art to the claimsin this application and are not admitted to be prior art by inclusion inthis section.

BRIEF DESCRIPTION OF THE DRAWINGS

The present invention is illustrated by way of example, and not by wayof limitation, in the figures of the accompanying drawings and in whichlike reference numerals refer to similar elements and in which:

FIG. 1 is a block diagram that illustrates the plotting of digitalsignal data using minimum and maximum values over time;

FIGS. 2 a-2 e is a block diagram illustrating the steps of displaying adigital signal visualization with increasing accuracy according to anembodiment of the invention;

FIG. 3 is a flow diagram that illustrates the general steps involved ineach of the phases of displaying digital signal visualizations withincreasing accuracy, according to an embodiment of the invention; and

FIG. 4 is a block diagram illustrating a computer system upon which anembodiment of the invention may be implemented.

DETAILED DESCRIPTION

In the following description, for the purposes of explanation, numerousspecific details are set forth in order to provide a thoroughunderstanding of the present invention. It will be apparent, however,that the present invention may be practiced without these specificdetails. In other instances, well-known structures and devices are shownin block diagram form in order to avoid unnecessarily obscuring thepresent invention.

Overview

Techniques shall be described hereafter for displaying digital signalvisualizations with increasing accuracy as the signal data is processed.According to one embodiment, an entire digital signal visualization isdisplayed as data processing begins. As the digital signal data isprocessed, the visualization is refined with increasing accuracy.

In one embodiment, a process reads portions of the digital signal dataand uses the partial data set to build a visualization of the entiredigital signal file. The process continues to read portions of thedigital signal data, and uses the additional data to refine thevisualization. This process continues until the entire digital signalfile is processed and the visualization is displayed with completeaccuracy, using all data points.

According to an embodiment, a process reads digital signal data andpartitions the data into portions. The partitioning may be physical,logical, both or neither. The process reads digital signal data fromeach portion and uses the partial data set to build a visualization ofthe entire digital signal file. The process continues to read digitalsignal data from each portion of the digital signal data, and uses theadditional data to refine the visualization. According to an alternateembodiment, the process may read data from less than each portion. Theprocess continues until the entire digital signal file is processed andthe visualization is displayed with complete accuracy, using all datapoints. Ideally, the process does not read any specific piece of datamore than once, although alternate embodiments exist wherein overlappingportions or pieces of data are read.

Displaying Digital Signal Visualizations

Referring to FIG. 1, it is a block diagram illustrating the plotting ofdigital signal data using minimum and maximum values over time. Valuescomprising the minimum and maximum values of the digital signal data areplotted on the vertical axis, while time is plotted on the horizontalaxis. During each time period, a number of data values are sampledand/or processed.

For example, during time period 1, data points 0-10,000 are sampledand/or processed. The maximum value of the digital signal data withinthat sample is +0.65 and the minimum value is −0.51. During time period3, data points 20,000-30,000 are sampled and/or processed. The maximumvalue of the digital signal data within that sample is +0.05 and theminimum value is −0.03. During time period 5, data points 40,000-50,000are sampled and/or processed. The maximum value of the digital signaldata within that sample is +0.053 and the minimum value is −0.027.

These data points are plotted on a graph. In one embodiment, the datapoints within the maximum and minimum values are filled in, as in FIG.1, while other embodiments are envisioned such as simply plotting themaximum and minimum values. In the preferred embodiment, the entirevisualization is displayed and refined with increasing accuracy asadditional data points are sampled.

Displaying Visualizations with Increasing Accuracy

Referring to FIGS. 2 a-2 e, they are block diagrams illustrating thedisplay of a digital signal visualization with increasing accuracyaccording to an embodiment of the invention. For purposes of FIGS. 2 a-2e, the digital signal data is a twenty-second sound file. Otherembodiments are envisioned where the digital signal data comprises dataother than sound.

In one embodiment, the digital signal data is sampled at uniformintervals. In other embodiments, the digital signal data is sampled atnonuniform intervals. An example of sampling at uniform intervals isillustrated in FIG. 2 a. As shown in FIG. 2 a, during the first secondof processing the digital signal data, one-twentieth of the digitalsignal data is sampled from evenly spaced intervals of the file. Thisfirst sample of the data are plotted and displayed. Because onlyone-twentieth of the signal data has been processed, the display may becoarse and not completely accurate; however, even this coarse graphprovides to a user immediate feedback and information about the entiresignal. The user may use this information to continue work on the fileas the remainder of the signal data is processed and plotted.

For example, referring to FIG. 2 a, a user may approximate from thisdisplay where the loudest and softest volumes in the file are locatedafter only one-twentieth of the digital signal data has been processed.The visualization is at one-twentieth of the final resolution. If FIGS.2 a-2 e represented the processing of a movie soundtrack, a user couldascertain that there are very loud sounds approximately one-third andone-half the way through the file. This would likely not represent quietportion such as dialogue, but could represent explosions. As a result, auser wishing to edit the portion of the file containing a loud explosioncould know within one second that the relevant portion is likely eitherone-third or one-half way into the data and scan accordingly.

Although the techniques disclosed herein are discussed using the exampleof digital signal data representing sound, the disclosed techniques maybe used for any type of digital signal data. For example, anotherembodiment may provide a user with a view of stock prices or tradingvolume of a given security over a period of time. If FIG. 2 a wererepresentative of that type of digital signal data, then the user couldapproximate the highest and lowest prices or trading volume of thesecurity after only one-twentieth of the digital signal data has beenprocessed. Other examples of digital signal data that may be processedby an embodiment of this invention include lie detector data,seismographic data, or any data that may be plotted over an interval.

Referring to FIG. 2 b, the visualization after a second of processing isillustrated. At this point, another one-twentieth of the digital signaldata has been sampled from evenly spaced intervals of the file,resulting in one-tenth of the total digital signal data being processed.The visualization is at one-tenth of the final resolution. Because agreater number of data points have been processed and plotted, the graphcomprises greater detail than FIG. 2 a. In one embodiment, the previousvisualization is erased and the new, more detailed visualization isdrawn. In another embodiment, the visualization is redrawn on-the-flyand appears to morph into shape as time progresses.

Referring to FIG. 2 c, the visualization after five seconds ofprocessing is illustrated. At this point, one-fourth of the digitalsignal data has been sampled from evenly spaced intervals of the file,resulting in one-fourth of the total digital signal data beingprocessed. The visualization is at one-fourth of the final resolution.

Referring to FIG. 2 d, the visualization after ten seconds of processingis illustrated. At this point, one-half of the digital signal data hasbeen sampled from evenly spaced intervals of the file, resulting inone-half of the total digital signal data being processed. Thevisualization is at one-half of the final resolution.

Referring to FIG. 2 e, the visualization after twenty seconds ofprocessing is illustrated. At this point, the entire digital signal datahas been processed and the visualization is at full resolution.

Referring to FIG. 3, it is a flowchart 300 that illustrates the generalsteps involved in each of the phases of displaying digital signalvisualizations with increasing accuracy, according to an embodiment ofthe invention. In one embodiment, the process consists of a separatethread to process and display the digital signal data 302; as a result,a user may continue to interact with other concurrent threads 304.

According to one embodiment of the invention, arrays are allocated 310for storing the minimum and maximum values of the digital signal data.In one embodiment, the size of the array is the width of thevisualization image in pixels. For each pixel of the visualization, thearray Max[pixel] will store the highest possible value and the arrayMin[pixel] will store the lowest possible value, where [pixel]represents the element of the array corresponding to the screen pixel ofthe visualization. In one embodiment, millions of data elements aremapped to a single pixel. The ratio of data elements to pixels is usedto determine which data elements to sample in each iteration, as shallbe described hereafter. An offset variable is set to zero 312 and aratio is established which in one embodiment is the number of elementsin the array divided by the number of pixels. The process begins on thefirst pixel of the visualization 314.

The data element (signal position) to be sampled for the first pixel iscalculated to be the data in the signal array at the calculated offset;or, the signal data at the calculated position. For example, “SignalPosition=SignalDataArray[pixel*ratio+offset]” or “Signal Position=dataat the location: pixel*ratio+offset]” 316. For example, if the ratio ofdata elements to pixels is 10 data elements mapped to 1 pixel, then theratio is 10. Therefore, in this example, the first data element to besampled is [(1*10)+0=10].

If the signal position is greater than the value of Max[pixel] 318, thenMax[pixel] is set to the value of the signal position 320. Otherwise, ifthe signal position is less than the value of Min[pixel] 322, thenMin[pixel] is set to the value of the signal position 324. The processthen advances to the next pixel 326. If this does not take the processpast the last pixel 328, then control reverts to step 316. If theprocess advances past the last pixel, then the visualization isdisplayed based upon data read so far, using data in the array, and theoffset is incremented 330. If the offset is not greater than or equal tothe ratio 332, control reverts to step 314; otherwise, the visualizationis displayed based upon the data and the process terminates 334.

In one embodiment, use of the ratio and offset allow non-contiguoussamples to be read from the digital signal data. In one embodiment, nomore data is read than needed, just different portions of the data areread at a given time. Other embodiments are envisioned where portions ofdata in the samples are sampled multiple times. The digital signal datais read nonsequentially and the actual visualization of the waveform isprogressively buffered into memory. As the complete representation ofthe data set is built in memory, the digital signal visualization isbuilt from it on the fly. In one embodiment, the ending of the processand the completion of the visualization is indicated by thevisualization changing color temporarily. Other embodiments areenvisioned where the color change is permanent and may be accompanied byan alert such as a sound or display of a dialog box.

Hardware Overview

FIG. 4 is a block diagram that illustrates a computer system 400 uponwhich an embodiment of the invention may be implemented. A computersystem as illustrated in FIG. 4 is but one possible system on whichembodiments of the invention may be implemented and practiced. Forexample, embodiments of the invention may be implemented on any suitablyconfigured device, such as a handheld or otherwise portable device, adesktop device, a set-top device, a networked device, and the like,configured for recording, processing or playing audio files. Hence, allof the components that are illustrated and described in reference toFIG. 4 are not necessary for implementing embodiments of the invention.

Computer system 400 includes a bus 402 or other communication mechanismfor communicating information, and a processor 404 coupled with bus 402for processing information. Computer system 400 also includes a mainmemory 406, such as a random access memory (RAM) or other dynamicstorage device, coupled to bus 402 for storing information andinstructions to be executed by processor 404. Main memory 406 also maybe used for storing temporary variables or other intermediateinformation during execution of instructions to be executed by processor404. Computer system 400 further includes a read only memory (ROM) 408or other static storage device coupled to bus 402 for storing staticinformation and instructions for processor 404. A storage device 410,such as a magnetic disk, optical disk, or magneto-optical disk, isprovided and coupled to bus 402 for storing information andinstructions.

Computer system 400 may be coupled via bus 402 to a display 412, such asa cathode ray tube (CRT) or a liquid crystal display (LCD), fordisplaying information to a system user. In the context of computersystem 400 as an audio recording and playback system, computer system400 may be coupled to an audio output device, such as speakers or aheadphone jack, for playing audio to a system user. An input device 414,including alphanumeric and other keys, is coupled to bus 402 forcommunicating information and command selections to processor 404.Another type of user input device is cursor control 416, such as amouse, a trackball, a stylus or cursor direction keys for communicatingdirection information and command selections to processor 404 and forcontrolling cursor movement on display 412. This input device typicallyhas two degrees of freedom in two axes, a first axis (e.g., x) and asecond axis (e.g., y), that allows the device to specify positions in aplane.

The invention is related to the use of computer system 400 forimplementing the techniques described herein. According to oneembodiment of the invention, those techniques are performed by computersystem 400 in response to processor 404 executing one or more sequencesof one or more instructions contained in main memory 406. Suchinstructions may be read into main memory 406 from anothercomputer-readable medium, such as storage device 410. Execution of thesequences of instructions contained in main memory 406 causes processor404 to perform the process steps described herein. In alternativeembodiments, hard-wired circuitry may be used in place of or incombination with software instructions to implement the invention. Thus,embodiments of the invention are not limited to any specific combinationof hardware circuitry and software.

The term “computer-readable medium” as used herein refers to any mediumthat participates in providing instructions to processor 404 forexecution. Such a medium may take many forms, including but not limitedto, non-volatile media and volatile media. Non-volatile media includes,for example, optical, magnetic, or magneto-optical disks, such asstorage device 410. Volatile media includes dynamic memory, such as mainmemory 406.

Common forms of computer-readable media include, for example, a floppydisk, a flexible disk, hard disk, magnetic tape, or any other magneticmedium, a CD-ROM, any other optical medium, a RAM, a PROM, and EPROM, aFLASH-EPROM, any other memory chip or cartridge, or any other mediumfrom which a computer can read.

Various forms of computer readable media may be involved in carrying oneor more sequences of one or more instructions to processor 404 forexecution. For example, the instructions may initially be carried on amagnetic disk of a remote computer. The remote computer can load theinstructions into its dynamic memory and send the instructions over atelephone line using a modem. A modem local to computer system 400 canreceive the data on the telephone line and use an infra-red transmitterto convert the data to an infra-red signal. An infra-red detector canreceive the data carried in the infra-red signal and appropriatecircuitry can place the data on bus 402. Bus 402 carries the data tomain memory 406, from which processor 404 retrieves and executes theinstructions. The instructions received by main memory 406 mayoptionally be stored on storage device 410 either before or afterexecution by processor 404.

Computer system 400 also includes a communication interface 418 coupledto bus 402. Communication interface 418 provides a two-way datacommunication coupling to a network link 420 that is connected to alocal network 422. For example, communication interface 418 may be anintegrated services digital network (ISDN) card or a modem to provide adata communication connection to a corresponding type of telephone line.As another example, communication interface 418 may be a local areanetwork (LAN) card to provide a data communication connection to acompatible LAN. Wireless links may also be implemented. In any suchimplementation, communication interface 418 sends and receiveselectrical, electromagnetic or optical signals that carry digital datastreams representing various types of information.

Network link 420 typically provides data communication through one ormore networks to other data devices. For example, network link 420 mayprovide a connection through local network 422 to a host computer 424 orto data equipment operated by an Internet Service Provider (ISP) 426.ISP 426 in turn provides data communication services through the worldwide packet data communication network now commonly referred to as the“Internet” 428. Local network 422 and Internet 428 both use electrical,electromagnetic or optical signals that carry digital data streams.

Computer system 400 can send messages and receive data, includingprogram code, through the network(s), network link 420 and communicationinterface 418. In the Internet example, a server 430 might transmit arequested code for an application program through Internet 428, ISP 426,local network 422 and communication interface 418.

The received code may be executed by processor 404 as it is received,and/or stored in storage device 410, or other non-volatile storage forlater execution.

Extensions and Alternatives

Alternative embodiments of the invention are described throughout theforegoing description, and in locations that best facilitateunderstanding the context of the embodiments. Furthermore, the inventionhas been described with reference to specific embodiments thereof. Itwill, however, be evident that various modifications and changes may bemade thereto without departing from the broader spirit and scope of theinvention. Therefore, the specification and drawings are, accordingly,to be regarded in an illustrative rather than a restrictive sense.

In addition, in this description certain process steps are set forth ina particular order, and alphabetic and alphanumeric labels may be usedto identify certain steps. Unless specifically stated in thedescription, embodiments of the invention are not necessarily limited toany particular order of carrying out such steps. In particular, thelabels are used merely for convenient identification of steps, and arenot intended to specify or require a particular order of carrying outsuch steps.

Further, in the foregoing specification, embodiments of the inventionhave been described with reference to numerous specific details that mayvary from implementation to implementation. Thus, the sole and exclusiveindicator of what is the invention, and is intended by the applicants tobe the invention, is the set of claims that issue from this application,in the specific form in which such claims issue, including anysubsequent correction. Any definitions expressly set forth herein forterms contained in such claims shall govern the meaning of such terms asused in the claims. Hence, no limitation, element, property, feature,advantage or attribute that is not expressly recited in a claim shouldlimit the scope of such claim in any way. The specification and drawingsare, accordingly, to be regarded in an illustrative rather than arestrictive sense.

1. A computer-implemented method for visualizing digital signal data,the computer-implemented method comprising: (a) reading digital signaldata representing a signal; (b) partitioning the digital signal datainto non-overlapping portions; (c) reading an initial subset of thedigital signal data in each portion; (d) displaying a visualization ofthe entire signal based upon all digital signal data read from eachportion; (e) reading a next subset of the digital signal data from eachportion, wherein the next subset contains samples from the digitalsignal data that do not overlap with any previously-read digital signaldata; (f) displaying a visualization of the entire signal based upon allportions of the signal that have been read from the digital signal data;and (g) repeating steps (e) and (f) until the visualization reflects allof the digital signal data.
 2. The computer-implemented method of claim1, wherein the initial subset of the digital signal data is read fromless than all portions of the digital signal data.
 3. Thecomputer-implemented method of claim 1, wherein the initial subset ofthe digital signal data contains non-contiguous samples from the digitalsignal data.
 4. The computer-implemented method of claim 1, wherein theinitial subset of the digital signal data contains contiguous samplesfrom the digital signal data.
 5. The computer-implemented method ofclaim 1, wherein the next subset of the digital signal data is read fromless than all of the non-overlapping portions of the digital signaldata.
 6. The computer-implemented method of claim 1, wherein the nextsubset contains samples from the digital signal data that overlap withpreviously-read digital signal data.
 7. The computer-implemented methodof claim 1, wherein the digital signal data comprises sound data.
 8. Thecomputer-implemented method of claim 1, wherein the digital signal datacomprises data other than sound data.
 9. A computer-readable medium forvisualizing digital signal data, the computer-readable medium storinginstructions which, when processed by one or more processors, causes:(a) reading digital signal data representing a signal; (b) partitioningthe digital signal data into non-overlapping portions; (c) reading aninitial subset of the digital signal data in each portion; (d)displaying a visualization of the entire signal based upon all digitalsignal data read from each portion; (e) reading a next subset of thedigital signal data from each portion, wherein the next subset containssamples from the digital signal data that do not overlap with anypreviously-read digital signal data; (f) displaying a visualization ofthe entire signal based upon all portions of the signal that have beenread from the digital signal data; and (g) repeating steps (e) and (f)until the visualization reflects all of the digital signal data.
 10. Thecomputer-readable medium of claim 9, wherein the initial subset of thedigital signal data is read from less than all portions of the digitalsignal data.
 11. The computer-readable medium of claim 9, wherein theinitial subset of the digital signal data contains non-contiguoussamples from the digital signal data.
 12. The computer-readable mediumof claim 9, wherein the initial subset of the digital signal datacontains contiguous samples from the digital signal data.
 13. Thecomputer-readable medium of claim 9, wherein the next subset of thedigital signal data is read from less than all of the non-overlappingportions of the digital signal data.
 14. The computer-readable medium ofclaim 9, wherein the next subset contains samples from the digitalsignal data that overlap with previously-read digital signal data. 15.The computer-readable medium of claim 9, wherein the digital signal datacomprises sound data.
 16. The computer-readable medium of claim 9,wherein the digital signal data comprises data other than sound data.17. A apparatus for visualizing digital signal data, the apparatuscomprising a memory storing instructions which, when processed by one ormore processors, causes: (a) reading digital signal data representing asignal; (b) partitioning the digital signal data into non-overlappingportions; (c) reading an initial subset of the digital signal data ineach portion; (d) displaying a visualization of the entire signal basedupon all digital signal data read from each portion; (e) reading a nextsubset of the digital signal data from each portion, wherein the nextsubset contains samples from the digital signal data that do not overlapwith any previously-read digital signal data; (f) displaying avisualization of the entire signal based upon all portions of the signalthat have been read from the digital signal data; and (g) repeatingsteps (e) and (f) until the visualization reflects all of the digitalsignal data.
 18. The apparatus of claim 17, wherein the initial subsetof the digital signal data is read from less than all portions of thedigital signal data.
 19. The apparatus of claim 17, wherein the initialsubset of the digital signal data contains non-contiguous samples fromthe digital signal data.
 20. The apparatus of claim 17, wherein theinitial subset of the digital signal data contains contiguous samplesfrom the digital signal data.
 21. The apparatus of claim 17, wherein thenext subset of the digital signal data is read from less than all of thenon-overlapping portions of the digital signal data.
 22. The apparatusof claim 17, wherein the next subset contains samples from the digitalsignal data that overlap with previously-read digital signal data. 23.The apparatus of claim 17, wherein the digital signal data comprisessound data.
 24. The apparatus of claim 17, wherein the digital signaldata comprises data other than sound data.